package com.hee.erp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@MapperScan("com.hee.erp.modules.mapper")
@EnableAspectJAutoProxy
@ServletComponentScan(basePackages = {"com.hee.erp.filter"})
@EnableTransactionManagement
public class HeeErpApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(HeeErpApiApplication.class, args);

    }

}
